<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%-- 
    Document   : ListarPaises
    Created on : 18-may-2013, 17:27:43
    Author     : Alumno
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
        <h1>Lista de Paises</h1>
        <table border="1">
            <thead>
                <tr>
                    <th>Id País</th>
                    <th>Nombre Pais</th>
                    <th>Id Región</th>
                </tr>
            </thead>
            <tbody>
                <c:forEach var="r" items="${requestScope.lista}">
                    <tr>
                        <td>${r.idPais}</td>
                        <td>${r.nombrePais}</td>
                        <td>${r.idRegion}</td>
                    </tr>
                </c:forEach>
            </tbody>
        </table>

    </body>
</html>
